﻿using System.Data;

namespace Sayook.Framework.DbCore.DbConnection
{
    /// <summary>
    /// 创建数据库连接
    /// </summary>
    public interface IDbConnectionProvider
    {
        /// <summary>
        /// 创建数据库连接
        /// </summary>
        /// <param name="connectionString">数据库连接字符串；</param>
        /// <returns>数据库连接</returns>
        IDbConnection Create(string connectionString);
    }
}